﻿using System;
using System.Collections.Generic;
using NHibernate.Criterion;
using Ornament.NHibernates;

namespace Ornament.Messages.Dao.NHibernateImple
{
    public class InfoReaderDao : DaoBase<Guid, InfoReader>, IInfoReaderDao
    {
        protected override Order[] DefaultOrder
        {
            get
            {
                return
                    new Order[]{
                Order.Desc("CreateTime")};
            }
        }

        #region IInfoReaderDao Members

        public override IList<InfoReader> FindAll(int pageIndex, int pageSize)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}